package com.jy.rhin.application.cda.enums;

import lombok.Getter;

/**
 * @author dhl
 * @date 2023/2/24
 * @Description
 */
@Getter
public enum HealthDictionaryEnum {
    CVX_MXCWLBZY("CVX_MXCWLBZY", "明细财务分类"),
    CV07_10_005("CV07.10.005", "医疗付款方式代码"),
    CV07_10_001("CV07.10.001", "明细费用类别"),
    CVX_YYTJDM("CVX_YYTJDM", "用药途径代码"),
    CVX_YWSYJLDWDM("CVX_YWSYJLDWDM", "药物使用剂量单位代码"),
    CV08_50_002("CV08.50.002", "药品剂型代码"),
    CVX_YWSYPCDM("CVX_YWSYPCDM", "药物使用频次"),
    CV5502_20("CV5502.20", "疾病诊断类别代码"),
    CV04_10_012("CV04.10.012", "乳腺检查结果代码"),
    CV05_01_011("CV05.01.011", "伤口愈合状况代码"),
    CVX_JKZD("CVX_JKZD", "健康指导代码"),
    ICD_10("ICD-10", "ICD-10"),
    CVX_FYJSFS("CVX_FYJSFS", "医疗费用结算方式代码表"),
    GB_T_2261_1("GB/T 2261.1", "性别代码"),
    GB_T_4761("GB/T 4761", "家庭关系代码"),
    CVX_JIEZHONGJJ("CVX_JIEZHONGJJ", "接种禁忌代码"),
    CVX_YIMIAODM("CVX_YIMIAODM", "疫苗名称代码"),
    CV05_01_032("CV05.01.032", "预防接种后不良反应临床诊断代码表"),
    CVX_JCJYJG("CVX_JCJYJG", "检查/检验结果代码表"),
    CV03_00_301("CV03.00.301", "环境危险因素暴露代码"),
    CV05_10_010("CV05.10.010", "病情转归代码表"),
    CV03_00_112("CV03.00.112", "患重性精神疾病对家庭社会的影响代码表"),
    CVX_GSQKDMB("CVX_GSQKDMB", "关锁情况代码表"),
    CVX_JJQK("CVX_JJQK", "经济状况代码表"),
    CV05_01_036("CV05.01.036", "重性精神疾病名称代码表"),
    CV05_10_013("CV05.10.013", "重性精神疾病患者危险性分级代码表"),
    CV04_01_009("CV04.01.009", "精神症状代码表"),
    CVX_ZZLPJ("CVX_ZZLPJ", "自知力评价结果代码表"),
    CVX_SMQK("CVX_SMQK", "睡眠情况代码表"),
    CVX_YSQK("CVX_YSQK", "饮食情况代码表"),
    CVX_SHGNQK("CVX_SHGNQK", "社会功能情况评价代码表"),
    CVX_ZYQK("CVX_ZYQK", "住院情况代码表"),
    CV06_00_209("CV06.00.209", "精神康复措施代码表"),
    CV06_00_102("CV06.00.102", "用药途径代码表"),
    CV06_00_207("CV06.00.207", "随访方式代码表"),
    CVX_SYQK("CVX_SYQK", "摄盐量分级代码表"),
    CVX_XLTZ("CVX_XLTZ", "心理调整评价结果代码表"),
    CVX_ZYXW("CVX_ZYXW", "随访遵医行为评价结果代码表"),
    CV06_00_101("CV06.00.101", "中药使用类别代码表"),
    CV05_10_012("CV05.10.012", "随访评价结果代码表"),
    CVX_DXTFY("CVX_DXTFY", "低血糖反应代码表"),
    CVX_MZZLQKDMB("CVX_MZZLQKDMB", "既往门诊治疗情况代码"),
    CVX_CRBFBLB("CVX_CRBFBLB", "传染病发病类别代码表"),
    CV0_01_002("CV05.01.002", "诊断状态代码表"),
    CVX_CRBLB("CVX_CRBLB", "传染病类别代码表"),
    CV05_01_017("CV05.01.017", "传染病名称代码表"),
    CVX_BAOKALB("CVX_BAOKALB", "报卡类别代码表"),
    CV02_01_104("CV02.01.104", "传染病患者归属代码表"),
    GBT_2261_2("GB/T 2261.2", "婚姻状况代码表"),
    GBT_3304("GB/T 3304", "民族类别代码表"),
    GBT_4658("GB/T 4658", "学历代码表"),
    GBT_6565("GB/T 6565", "职业类别代码表"),
    CV04_50_005("CV04.50.005", "ABO血型代码表"),
    CV04_50_020("CV04.50.020", "Rh(D)血型代码表"),
    CV03_00_115("CV03.00.115", "饮水类别代码表"),
    CV03_00_303("CV03.00.303", "燃料类型类别代码表"),
    CVX_QCL("CVX_QCL", "禽畜栏类别代码"),
    CV03_00_304("CV03.00.304", "厕所类别代码表"),
    CV03_00_302("CV03.00.302", "厨房排风设施类别代码表"),
    CV05_10_001("CV05.10.001", "残疾情况代码表"),

    // 健康体检
    CVX_ZZDM("CVX_ZZDM", "症状代码"),
    CVX_YB("CVX_YB", "咽部检查结果代码表"),
    CVX_XYZKDM("CVX_XYZKDM", "吸烟状况"),
    CVX_TINGLI("CVX_TINGLI", "听力"),
    CVX_YDGN("CVX_YDGN", "运动功能状态"),
    CVX_XINLVQDM("CVX_XINLVQDM", "心律类别代码"),
    CV04_01_013("CV04.01.013", "老年人健康状态自我评估"),
    CV04_01_014("CV04.01.014", "老年人生活自理能力自我评估"),
    CV03_00_111("CV03.00.111", "锻炼频率"),
    CV03_00_107("CV03.00.107", "饮食习惯"),
    CV03_00_104("CV03.00.104", "饮酒频率"),
    CV03_00_105("CV03.00.105", "饮酒种类"),
    CV04_10_007("CV04.10.007", "口唇"),
    CV04_10_010("CV04.10.010", "齿列"),
    CV04_10_004("CV04.10.004", "皮肤"),
    CV04_10_006("CV04.10.006", "巩膜"),
    CV04_10_011("CV04.10.011", "淋巴结"),
    CVX_LYDM("CVX_LYDM", "肺部罗音"),
    CV04_10_014("CV04.10.014", "下肢水肿"),
    CV04_10_015("CV04.10.015", "足背动脉搏动"),
    CV04_10_013("CV04.10.013", "肛门指诊"),
    CV06_00_218("CV06.00.218", "体检危险因素控制"),
    CV04_50_015("CV04.50.015", "尿蛋白白定性检测结果代码"),
    CVX_NXGJB("CVX_NXGJB", "脑血管疾病"),
    CVX_GZJB("CVX_GZJB", "肾脏疾病"),
    CVX_XZJB("CVX_XZJB", "心脏疾病"),
    CVX_XGJB("CVX_XGJB", "血管疾病"),
    CVX_YBJB("CVX_YBJB", "眼部疾病"),
    CVX_FYYCX("CVX_FYYCX", "服药依从性代码"),
    CV05_01_005("CV05.01.005", "体质"),
    CVX_ZYTZFLPD("CVX_ZYTZFLPD", "中医体质分类判定结果"),
    CV02_10_005("CV02.10.005", "疾病代码"),
    CVX_LNRRZGNCSJGDM("CVX_LNRRZGNCSJGDM", "老年人认知能力"),

    CVX_LNRQGZTCSJGDM("CVX_LNRQGZTCSJGDM", "情感状态粗筛"),
    CV08_50_001("CV08.50.001", "疫苗名称代码"),
    CV06_00_103("CV06.00.103", "麻醉方法代码"),
    CV02_01_103("CV02.01.103",  "死亡地点类别代码表"),
    ;

    /**
     * 字典code
     */
    String code;
    /**
     * 字典名称
     */
    String name;

    HealthDictionaryEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public static String getName(String name) {
        for (HealthDictionaryEnum eNum : HealthDictionaryEnum.values()) {
            if (eNum.name.equals(name)) {
                return eNum.name;
            }
        }
        return null;
    }
}
